package com.ruoyi.staff.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 职工管理对象 staff_info
 * 
 * @author ruoyi
 * @date 2025-02-22
 */
public class Staff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 职工id */
    private Long id;

    /** 职工姓名 */
    @Excel(name = "职工姓名")
    private String staffName;

    /** 工号 */
    @Excel(name = "工号")
    private String staffCode;

    /** 职工年龄 */
    @Excel(name = "职工年龄")
    private String staffAge;

    /** 职工性别 */
    @Excel(name = "职工性别")
    private Long staffSex;

    /** 职工电话 */
    @Excel(name = "职工电话")
    private String staffPhone;

    /** 职工地址 */
    @Excel(name = "职工地址")
    private String staffAddress;

    /** 职工照片 */
    @Excel(name = "职工照片")
    private String staffImg;

    /** 所属部门id */
    @Excel(name = "所属部门id")
    private Long staffDeptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStaffName(String staffName) 
    {
        this.staffName = staffName;
    }

    public String getStaffName() 
    {
        return staffName;
    }
    public void setStaffCode(String staffCode) 
    {
        this.staffCode = staffCode;
    }

    public String getStaffCode() 
    {
        return staffCode;
    }
    public void setStaffAge(String staffAge) 
    {
        this.staffAge = staffAge;
    }

    public String getStaffAge() 
    {
        return staffAge;
    }
    public void setStaffSex(Long staffSex) 
    {
        this.staffSex = staffSex;
    }

    public Long getStaffSex() 
    {
        return staffSex;
    }
    public void setStaffPhone(String staffPhone) 
    {
        this.staffPhone = staffPhone;
    }

    public String getStaffPhone() 
    {
        return staffPhone;
    }
    public void setStaffAddress(String staffAddress) 
    {
        this.staffAddress = staffAddress;
    }

    public String getStaffAddress() 
    {
        return staffAddress;
    }
    public void setStaffImg(String staffImg) 
    {
        this.staffImg = staffImg;
    }

    public String getStaffImg() 
    {
        return staffImg;
    }
    public void setStaffDeptId(Long staffDeptId) 
    {
        this.staffDeptId = staffDeptId;
    }

    public Long getStaffDeptId() 
    {
        return staffDeptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("staffName", getStaffName())
            .append("staffCode", getStaffCode())
            .append("staffAge", getStaffAge())
            .append("staffSex", getStaffSex())
            .append("staffPhone", getStaffPhone())
            .append("staffAddress", getStaffAddress())
            .append("staffImg", getStaffImg())
            .append("staffDeptId", getStaffDeptId())
            .toString();
    }
}
